package com.kcwl.carrier.domain.service;

import com.kcwl.carrier.domain.entity.AuditRejectReasonInfo;
import com.kcwl.carrier.domain.repository.IAuditRejectReasonRepository;
import com.kcwl.carrier.interfaces.query.AuditRejectReasonQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 刘旭超
 * @date 2022年07月11日 17:11
 * @Description
 */
@Service
public class AuditRejectReasonDomainService {

    @Autowired
    private IAuditRejectReasonRepository auditRejectReasonRepository;

    public List<AuditRejectReasonInfo> selectIds(List<Long> ids) {
       return auditRejectReasonRepository.selectIds(ids);
    }

    public List<AuditRejectReasonInfo> queryRejectReason(AuditRejectReasonQuery query) {
        return auditRejectReasonRepository.queryRejectReason(query);
    }
    public AuditRejectReasonInfo selectId(Long id) {
        return auditRejectReasonRepository.selectId(id);
    }

    public List<AuditRejectReasonInfo> queryAllRejectReason() {
        return auditRejectReasonRepository.queryAllRejectReason();
    }
}
